//
//	MHCircleMember.m
//
//	Create by 正荣 许 on 13/4/2018
//	Copyright © 2018. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "MHCircleMember.h"

NSString *const kMHCircleMemberAutoId = @"autoId";
NSString *const kMHCircleMemberEndDate = @"endDate";
NSString *const kMHCircleMemberFullUserFace = @"fullUserFace";
NSString *const kMHCircleMemberIdentType = @"identType";
NSString *const kMHCircleMemberLimitType = @"limitType";
NSString *const kMHCircleMemberNickName = @"nickName";
NSString *const kMHCircleMemberStartDate = @"startDate";
NSString *const kMHCircleMemberStatus = @"status";
NSString *const kMHCircleMemberUserFace = @"userFace";
NSString *const kMHCircleMemberUserId = @"userId";

@interface MHCircleMember ()
@end
@implementation MHCircleMember


-(NSString *)startDate
{
    return  [MHMomentHelper createdAtTimeWithSourceDate:_startDate];
}

-(BOOL)currentMemberIsOwner
{
    return [MHHTTPService sharedInstance].currentUser.userId == self.userId;
}
@end
